<?php
namespace Admin\Controller;
use Think\Controller;
class MenuController extends AdminController {
    public function index(){
        $Menu = M('Menu');//实例化AdminUser对象
        $data = $Menu->order('sort asc,u_time desc,id desc')
            ->select();
        $data = get_category($data,999);
        $this->assign('title','栏目列表');//标题
        $this->assign('data',$data);// 赋值数据集
        $this->display();
    }
}


